package com.Interface.TestIO;

import java.io.File;

public class test1 {
    public static void main(String[] args) {
        File fileTest = new File("D:\\s/s.xlsx");
        File fileTest2 = new File("D:\\s/hjhhb");

        boolean exists = fileTest.exists();
        System.out.println(exists);

        System.out.println(fileTest2.isFile());

        System.out.println(fileTest2.mkdir());

        System.out.println(fileTest.isDirectory());

        System.out.println(fileTest.getPath());

        fileTest.getFreeSpace();




    }
}
